package com.zhao.service;

import com.zhao.pojo.Admin;
import com.zhao.pojo.OrderForm;
import com.zhao.pojo.SchoolCounsellor;
import com.zhao.pojo.Student;

import javax.servlet.http.HttpSession;

public interface OrderFormService {
    String studentSubmitOrder(Student student, OrderForm orderForm, HttpSession session);
    String studentGetAllMyBuyOrders(Student student,HttpSession session);
    String studentGetAllMySellOrders(Student student,HttpSession session);
    String studentCancelBuyOrder(Student student,String orderFormID,HttpSession session);
    String studentRejectOrder(Student student,String orderFormID,HttpSession session);
    String studentApprovalOrder(Student student,String orderFormID,HttpSession session);
    String adminGetAllOrders(Admin admin, HttpSession session);
    String adminGetFinishenOrdersNum(Admin admin, HttpSession session);
    String schoolCounsellorGetAllOrders(SchoolCounsellor schoolCounsellor, HttpSession session);
    String adminDeleteOneOrderForm(Admin admin,String orderFormID,HttpSession session);
    String schoolCounsellorGetFinishedOrderNum(SchoolCounsellor schoolCounsellor,HttpSession session);
}
